package com.hmdp.utils;

import lombok.Data;

import java.time.LocalDateTime;

@Data
public class RedisData {
    //过期时间
    private LocalDateTime expireTime;
    //遵寻ocp开闭原则，不秀改shop实体类，将shop赋值给data
    private Object data;
}
